package com.chenglu.android.classify.mvp.model;




import com.chenglu.android.classify.bean.ClassisyTreeBean;
import com.chenglu.android.classify.mvp.contract.ClassifyTreeContract;
import com.chenglu.android.common.net.RetrofitClient;

import io.reactivex.rxjava3.core.Observable;

/**
 * @author: lyj
 * @Created by Copyright 2023/3/2 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 *
 */
public class ClassifyTreeModel implements ClassifyTreeContract.ClassifyTreeModel {

    @Override
    public Observable<ClassisyTreeBean> getClassisyTree() {
        return RetrofitClient.getInstance().getApi().getClassisyTree();
    }

}
